projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e41b451
)
(string-to-sequence): Work usefully when enable-multibyte-characters is nil.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 4 Sep 1997 04:48:23 +0000
(
04:48
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 4 Sep 1997 04:48:23 +0000
(
04:48
+0000)
lisp/international/mule-util.el
patch
|
blob
|
history
diff --git
a/lisp/international/mule-util.el
b/lisp/international/mule-util.el
index be55a22bf7130f04a036823e4c4ca28e18cc4bfe..7a5bbe03775d80afb6b2fc965111dad7718e40d4 100644
(file)
--- a/
lisp/international/mule-util.el
+++ b/
lisp/international/mule-util.el
@@
-37,7
+37,8
@@
TYPE should be `list' or `vector'."
(i 0)
l ch)
(while (< i len)
- (setq ch (sref string i))
+ (setq ch (if enable-multibyte-characters
+ (sref string i) (aref string i)))
(setq l (cons ch l))
(setq i (+ i (char-bytes ch))))
(setq l (nreverse l))